package sensors;

import lejos.nxt.SensorPort;
import lejos.nxt.TouchSensor;

public class Touch {

	private TouchSensor touch;
	
	public Touch(){
		touch = new TouchSensor(SensorPort.S3);
	}
	
	public boolean movingBox(){
		return touch.isPressed();
	}

}
